package com.snail.app.gather.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @description
 * @date 2021/11/18
 * @autor houyanfeng
 */
@Data
@Entity
@Table
public class DataSyncSendPath implements Serializable {
    @Id
    @Column(length = 16)
    private String id;
    private Integer mode;//发送方式 1-发送MQ（默认），2-调用API
    @Column(length = 12)
    private String env;//使用环境 暂未使用
    @Column(length = 20)
    private String sendIp;//IP
    private Integer sendPort;//端口
    @Column(length = 30)
    private String mqQueue;//队列名称
    @Column(length = 100)
    private String sendUrl;//API地址
    @Column(length = 120)
    private String remark;//备注

}
